package com.zhuangxiaoyan.jvm.chapter06.java2;

/**
 * @description 同步省略说明
  * @param: null
 * @date: 2022/6/18 16:52
 * @return:
 * @author: xjl
*/

public class SynchronizedTest {
    public void f() {
        Object hollis = new Object();
        synchronized(hollis) {
            System.out.println(hollis);
        }
    }
}
